﻿<!--  Copyright Microsoft Corporation -->
<!--  Author: Aravind Ramarathinam (aravr@microsoft.com) -->
 <UserControl x:Class="VmroleAuthor.Views.JsonView"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
             d:DesignWidth="900">
    <Grid VerticalAlignment="Top" ShowGridLines="False">       
        <Grid.ColumnDefinitions>        
            <ColumnDefinition Width="6"/>
            <ColumnDefinition Width="*"/>
            <ColumnDefinition Width="6"/>
        </Grid.ColumnDefinitions>

        <!-- Text -->
        <TextBox x:Name="PrettyJsonView" Grid.Column="1" Background="Transparent" BorderThickness="0"  Text ="{Binding Path=PrettyJson, Mode=OneWay}" IsReadOnly="True" TextWrapping="Wrap" MaxWidth="875"></TextBox>     

    </Grid>
</UserControl>
